# 条件测试 编写⼀系列条件测试，将每个条件测试以及你对
# 其结果的预测和实际结果都打印出来。你编写的代码应类似于下⾯这
# 样：
# car = 'subaru'
# print("Is car == 'subaru'? I predict True.")
# print(car == 'subaru')
# print("\nIs car == 'audi'? I predict False.")
# print(car == 'audi')
# 详细研究实际结果，直到你明⽩它为何为 True 或 False。
# 创建⾄少 10 个条件测试，⽽且结果为 True 和 False 的条件测
# 试分别⾄少有 5
car = 'subaru'
print("Is car == 'subaru'? I predict True.")
print(car == 'subaru')
print("\nIs car == 'audi'? I predict False.")
print(car == 'audi')
c = 'benz'
print("Is car == 'benz'? I predict True.")
print(c == 'benz')
print("\nIs car == 'audi'? I predict False.")
print(c == 'audi')
fruit = 'apple'
print("Is fruit == 'banana'? I predict False.")
print(fruit == 'banana')
print("\nIs fruit == 'apple'? I predict True.")
print(fruit == 'apple')
food = 'rice'
print("Is food == 'rice'? I predict True.")
print(food == 'rice')
print("\nIs food == 'noodle'? I predict False.")
print(food == 'noodle')
sport = 'basketball'
print("Is sport == 'basketball'? I predict True.")
print(sport == 'basketball')
print("\nIs sport == 'football'? I predict False.")
print(sport == 'football')
